home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Processes.idl < prev    next >
Text File  |  1996-05-01  |  3KB  |  101 lines

  1. /*
  2.      File:        Processes.idl
  3.  
  4.      Contains:    Process Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __PROCESSES_IDL__
  19. #define __PROCESSES_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27. #ifndef __EVENTS_IDL__
  28. #include <Events.idl>
  29. #endif
  30. #ifndef __FILES_IDL__
  31. #include <Files.idl>
  32. #endif
  33. #if FOR_SYSTEM8_PREEMPTIVE
  34. #ifndef __KERNEL_IDL__
  35. #include <Kernel.idl>
  36. #endif
  37. #ifndef __FILEMANAGERTYPES_IDL__
  38. #include <FileManagerTypes.idl>
  39. #endif
  40. #endif
  41.  
  42. #ifdef __SOMIDL__
  43.  
  44. /* type for unique process identifier */
  45. typedef SOMLargeStruct            ProcessSerialNumber;        /* Derived from a struct of 8 bytes in size */
  46.  
  47. typedef OpaquePtr                ProcessSerialNumberPtr;        /* Substituted OpaquePtr for ``ProcessSerialNumber*'' */
  48.  
  49. #if FOR_SYSTEM8_PREEMPTIVE
  50. typedef SOMLargeStruct            ApplicationInformation;        /* Derived from a struct of 12 bytes in size */
  51.  
  52. typedef OpaquePtr                ApplicationInformationPtr;    /* Substituted OpaquePtr for ``ApplicationInformation*'' */
  53.  
  54. typedef SOMFourByteStruct        LaunchInformation;            /* Derived from a struct of 4 bytes in size */
  55.  
  56. typedef OpaquePtr                LaunchInformationPtr;        /* Substituted OpaquePtr for ``LaunchInformation*'' */
  57.  
  58. /* for now, the launch call only supports an application in the FSObjectSpecification*/
  59. #endif
  60. /* Definition of the parameter block passed to _Launch */
  61. /*
  62.  Typedef and flags for launchControlFlags field
  63.  #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED??
  64. */
  65. typedef unsigned short            LaunchFlags;
  66.  
  67. /*
  68.  Format for first AppleEvent to pass to new process.  The size of the overall
  69.   buffer variable: the message body immediately follows the messageLength 
  70. */
  71. typedef SOMLargeStruct            AppParameters;                /* Derived from a struct of 24 bytes in size */
  72.  
  73. typedef OpaquePtr                AppParametersPtr;            /* Substituted OpaquePtr for ``AppParameters*'' */
  74.  
  75. /* Parameter block to _Launch */
  76. typedef SOMLargeStruct            LaunchParamBlockRec;        /* Derived from a struct of 44 bytes in size */
  77.  
  78. typedef OpaquePtr                LaunchPBPtr;                /* Substituted OpaquePtr for ``LaunchParamBlockRec*'' */
  79.  
  80. /*
  81.  Set launchBlockID to extendedBlock to specify that extensions exist.
  82.  Set launchEPBLength to extendedBlockLen for compatibility.
  83. */
  84. /* Record returned by GetProcessInformation */
  85. typedef SOMLargeStruct            ProcessInfoRec;                /* Derived from a struct of 60 bytes in size */
  86.  
  87. typedef OpaquePtr                ProcessInfoRecPtr;            /* Substituted OpaquePtr for ``ProcessInfoRec*'' */
  88.  
  89. /* #endif // FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED??*/
  90. #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  91. #endif
  92. #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
  93. #if !OLDROUTINELOCATIONS
  94. #endif
  95. #endif
  96.  
  97. #endif /* __SOMIDL__ */
  98.  
  99. #endif /* __PROCESSES_IDL__ */
  100.  
  101.